package com.bysj.lms.service;

import com.bysj.lms.pojo.entity.RoleUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaojiakai
 * @since 2022-02-04
 */
public interface IRoleUserService extends IService<RoleUser> {

    //根据用户名查询角色集
//    List<RoleUser> getByUsername(String username);
    //增加
    boolean adds(List<Integer> roleIds,String uid);
    //删除
    boolean removes(List<Integer> roleIds,String uid);

    boolean edit(List<Integer> roleIds,String uid);
}
